package net.yxsoft.constant;

/**
 * 描述：ConstantCache  缓存常量
 * 人员：liuf
 * 日期：2016/4/20 1030
 * 变更历史：
 * 2016/5/11 21   增加token常量
 */
public class ConstantCache {

  /**
   * 缓存类型ehcache
   */
  public static final String CACHE_TYPE_EHCACHE = "ehcache";

  /**
   * 缓存类型redis
   */
  public static final String CACHE_TYPE_REDIS = "redis";

  /**
   * 系统缓存，主要是权限和数据字典等
   */
  public static final String CACHE_NAME_SYSTEM = "system";

  /**
   * token缓存，主要存放token用于重复提交
   */
  public static final String CACHE_NAME_TOKEN = "taoken";

  /**
   * 用户缓存
   */
  public static final String CACHE_NAME_USER = "user";
  /**
   * 文章缓存
   */
  public static final String CACHE_NAME_ARTICLE = "cymarket";
  /**
   * 短信缓存
   */
  public static final String CACHE_NAME_SMS = "sms";
  /**
   * 支付缓存
   */
  public static final String CACHE_NAME_PAY = "pay";
  /**
   * 天气缓存
   */
  public static final String CACHE_NAME_WEATHER = "weather";
  /**
   * 火车时刻缓存
   */
  public static final String CACHE_NAME_TRAIN = "train";
  /**
   * 下载版本
   */
  public static final String CACHE_NAME_DOWNLOAD = "download";

  public static final int BATCH_SIZE=100;

}
